import Vue from 'vue'
import App from './App.vue'
import '../iconfont/iconfont.css'
import router from '@/router'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

import AMap from 'vue-amap';
Vue.use(AMap);

  // 初始化vue-amap
AMap.initAMapApiLoader({
  // 高德key
  key: 'ac0460301b45acf17b5476f030828453',
  // 插件集合 （插件按需引入）
  plugin: ['AMap.Geolocation']
})

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
